var baseUrl = 'https://music.aityp.com/';
function http(url) {
    return new Promise((resolve, reject) => {
        $.ajax({
            url: baseUrl + url,
            type: "get",
            success: res => {
                resolve(res)
            },
            error: err => {
                reject(err)
            }
        })
    })
}

function HTTP(url) {
    return new Promise((resolve, reject) => {
        wx.request({
            url: '',
            data: {},
            header: { 'content-type': 'application/json' },
            method: 'GET',
            dataType: 'json',
            responseType: 'text',
            success: (result) => {

            },
            fail: () => { },
            complete: () => { }
        });
    })
}